package xin.lhuo.we.server.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * @author Lhuo
 * @date 2019/4/30 14:48
 */
@Data
@ToString
@JsonInclude(value = JsonInclude.Include.NON_EMPTY)
public class User {
    private Integer id;
    private String username;
    private String displayName;
    private String phone;
    private String password;
    private Integer role;
    private Date loginLast;
    private String description;
    private Date createTime;
    private Date updateTime;

    private String token;
}